<?php

/**
 * Description of Utilitarios_Usuario
 *
 * @author Jean Brito
 */
class Application_model_utilitarios_Usuario extends Application_Model_Abstract {

    protected $_table = 'utilitario_usuario';
    protected $_fields = Array(
        'id' => Array(
            'name' => 'id',
            'type' => 'identifier',
            'label' => 'Id',
        ),
        'nome' => Array(
            'name' => 'nome',
            'type' => 'name',
            'label' => 'Nome',
        ),
        'login' => Array(
            'name' => 'login',
            'type' => 'login',
            'label' => 'Login',
        ),
        'senha' => Array(
            'name' => 'senha',
            'type' => 'password',
            'label' => 'Senha',
        ),
        'email' => Array(
            'name' => 'email',
            'type' => 'email',
            'label' => 'Email',
        ),
        'situacao' => Array(
            'name' => 'situacao',
            'type' => 'select',
            'label' => 'Situação',
            'options' => array('A' => 'Ativo', 'B' => 'Bloqueado')
        ),
    );
}
